export const getDaysInMonth = (date:Date) => {
    const year = date.getFullYear()
    const month = date.getMonth() + 1
    return new Date(year, month, 0).getDate()
}


export const getCurrentWeekday = (today:Date) => {
    const weekdays = ["日", "一", "二", "三", "四", "五", "六"];
    const weekday = today.getDay();
    return weekdays[weekday];
}

export const formatDate = () => {
    
}